#include <cstdio>
#include "Date.h"
#include "People.h"
#include "Teacher.h"
#include "Student.h"
#include "Graduate.h"
#include "TA.h"

using namespace std;

int main()
{
	Date t_d(1970, 1, 1);
	People t_p(14007, "李四", "man", "420107197001012020", t_d);
	Teacher t_t(t_p, "副教授", "计算机科学与技术");

	Date s_d(1998, 2, 2);
	People s_p(2020001, "张三", "man", "420107199802022046", s_d);
	Student s_s(s_p, "2002");
	Graduate s_g(s_s, "计算机科学与技术", t_t);
	Teacher s_t(s_s, "讲师", "计算机科学与技术");

	TA ta(s_g, s_t);

	ta.show();

	return 0;
}
